package yf.mall.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;

import java.math.BigDecimal;


@Setter
@Getter
public class AccountEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
    private Integer type;
    private Long userId;
    private BigDecimal amount;
    private BigDecimal lockAmount;
    
    public AccountEntity(){

    }
    public AccountEntity(Integer type, Long userId, BigDecimal amount, BigDecimal lockAmount) {
        this.type = type;
        this.userId = userId;
        this.amount = amount;
        this.lockAmount = lockAmount;
    }

}
